<template>
  <div class="content">
    <div class="top-img-box">
      <img src="@/assets/img/icon/verticalLine.png" class="top-img-box-img">
    </div>
    <div class="top-msg">
      {{ message }}
    </div>
  </div>
</template>

<style scoped>
* {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-size: 100%;
  vertical-align: baseline;
}

.content {
  display: flex;
  justify-content: start;
  align-items: center;
  height: 30px;
  background-color: #f5f5f5;
}

.top-img-box {
  display: flex;
  align-items: center;
}

.top-img-box-img {
  width: 30px;
  margin-left: -5px;
}
</style>

<script>
export default {
  name: 'TopBar',
  props: {
    message: {
      type: String,
      required: true
    }
  }
}
</script>
